package com.suning.sawp.po.customer;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
/**
 * 
 * 客户和标签关联表<br> 
 * 〈功能详细描述〉
 *
 * @author 12061818
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Entity(name = "CUST_INFO")
public class CustLabelRel implements Serializable {

    /**
     */
    private static final long serialVersionUID = -945999743643727133L;

    /**
     * 客户关系id
     */
    private Long custRelId;
    
    /**
     * 标签id
     */
    private Long labelId;
    
    /**
     * 标签名称
     */
    private String labelName;
    
    /**
     * 工号
     */
    private String staffId;

    public CustLabelRel() {
        
    }
    
    public CustLabelRel(Long custRelId, Long labelId, 
            String labelName, String staffId) {
        this.custRelId = custRelId;
        this.labelId = labelId;
        this.labelName = labelName;
        this.staffId = staffId;
    }
    
    @Column(name = "CUST_REL_ID")
    public Long getCustRelId() {
        return custRelId;
    }

    public void setCustRelId(Long custRelId) {
        this.custRelId = custRelId;
    }

    @Column(name = "LABEL_ID")
    public Long getLabelId() {
        return labelId;
    }

    public void setLabelId(Long labelId) {
        this.labelId = labelId;
    }

    @Column(name = "LABEL_NAME")
    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }

    @Column(name = "STAFF_ID")
    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    @Override
    public String toString() {
        return "CustLabelRel [custRelId=" + custRelId + ", labelId=" + labelId + ", labelName=" + labelName
                + ", staffId=" + staffId + "]";
    }
    
}
